package com.rock.pkp.config;

import com.rock.common.base.BaseConfig;

/**
 * RockDb配置文件读取
 * 
 * @author hotdog
 *
 */
public class RockPKPConfig extends BaseConfig {

	public static int getPrimarykeyInit() {
		return Integer.parseInt(getConfig("primarykey.init"));
	}

	public static int getPrimarykeyStep() {
		return Integer.parseInt(getConfig("primarykey.step"));
	}

	public static int getPrimarykeyNum() {
		return Integer.parseInt(getConfig("primarykey.num"));
	}

	public static String getDatabaseType() {
		return getConfig("database.type");
	}

	public static String getDatabaseName() {
		return getConfig("database.name");
	}
}
